#include<iostream>
using namespace std;


 main()
{
   int i,a=1,b=1,c; 
   cout<<a<<" "<<b;
   for (i=1; i < 10; i++)
   {
    c=a+b;
    cout<<" "<<c;
    a=b;
    b=c;/* code */
   }
   /* code */
    return 0;
}
